﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ShowhpText : MonoBehaviour
{
    public Text tt;
    private GameObject obj;
    private RectTransform rect;

    bool isinit = false;

    float y;
    float time = 0;
    public void Init(int num)
    {
        tt.text = "-"+num;
    }
  

    private void Update()
    {

    }

    public void AnimaHandle()
    {
        Destroy(this.gameObject);
    }
}
